package com.one.blocks.common.util;

import java.io.Serializable;
import java.util.Stack;

/**
 * @author <a href="mailto:idler41@163.con">linfuxin</a> created on 2023-11-11 15:49:04
 */
@FunctionalInterface
public interface DepthTraversalFunction<T extends TreeNode<T, K>, K extends Serializable> {

    void traversal(T treeNode, Stack<T> stack);
}
